package com.pojoVO;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * Created by Administrator on 2020/4/17 0017.
 */
@Document("ReplyInfo")
public class ReplyInfo implements Serializable {
    @Id
    private String commentId;
    private String replyId;
    private Integer replyuserId;
    private String userName;
    private Integer replyUserId;
    private String replyUserName;
    private String replyContext;

    public ReplyInfo() {
    }

    public ReplyInfo(String replyId, Integer replyuserId, String userName, Integer replyUserId, String replyUserName, String replyContext) {
        this.replyId = replyId;
        this.replyuserId = replyuserId;
        this.userName = userName;
        this.replyUserId = replyUserId;
        this.replyUserName = replyUserName;
        this.replyContext = replyContext;
    }

    public ReplyInfo(String commentId, String replyId, Integer replyuserId, String userName, Integer replyUserId, String replyUserName, String replyContext) {
        this.commentId = commentId;
        this.replyId = replyId;
        this.replyuserId = replyuserId;
        this.userName = userName;
        this.replyUserId = replyUserId;
        this.replyUserName = replyUserName;
        this.replyContext = replyContext;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }

    public Integer getReplyuserId() {
        return replyuserId;
    }

    public void setReplyuserId(Integer replyuserId) {
        this.replyuserId = replyuserId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getReplyUserId() {
        return replyUserId;
    }

    public void setReplyUserId(Integer replyUserId) {
        this.replyUserId = replyUserId;
    }

    public String getReplyUserName() {
        return replyUserName;
    }

    public void setReplyUserName(String replyUserName) {
        this.replyUserName = replyUserName;
    }

    public String getReplyContext() {
        return replyContext;
    }

    public void setReplyContext(String replyContext) {
        this.replyContext = replyContext;
    }

    @Override
    public String toString() {
        return "ReplyInfo{" +
                "commentId='" + commentId + '\'' +
                ", replyId='" + replyId + '\'' +
                ", replyuserId=" + replyuserId +
                ", userName='" + userName + '\'' +
                ", replyUserId=" + replyUserId +
                ", replyUserName='" + replyUserName + '\'' +
                ", replyContext='" + replyContext + '\'' +
                '}';
    }
}
